package com.dkd.manage.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 人员列表对象 tb_emp
 *
 * @author xwq
 * @date 2024-10-25
 */
@ApiModel(description = "人员列表实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class Emp extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键ID", example = "1")
    private Long id;

    /** 员工名称 */
    @ApiModelProperty(value = "员工名称", example = "张三")
    @Excel(name = "员工名称")
    private String userName;

    /** 所属区域Id */
    @ApiModelProperty(value = "所属区域ID", example = "101")
    private Long regionId;

    /** 区域名称 */
    @ApiModelProperty(value = "区域名称", example = "华南区域")
    @Excel(name = "区域名称")
    private String regionName;

    /** 角色id */
    @ApiModelProperty(value = "角色ID", example = "5")
    private Long roleId;

    /** 角色编号 */
    @ApiModelProperty(value = "角色编号", example = "ROLE_ADMIN")
    private String roleCode;

    /** 角色名称 */
    @ApiModelProperty(value = "角色名称", example = "管理员")
    @Excel(name = "角色名称")
    private String roleName;

    /** 联系电话 */
    @ApiModelProperty(value = "联系电话", example = "13800138000")
    @Excel(name = "联系电话")
    private String mobile;

    /** 员工头像 */
    @ApiModelProperty(value = "员工头像URL", example = "http://example.com/images/1.jpg")
    private String image;

    /** 是否启用 */
    @ApiModelProperty(value = "是否启用状态", example = "1", notes = "1: 启用, 0: 停用")
    private Long status;
}